package hb.software.teacher.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import hb.software.teacher.category.TeacherCategory;
import hb.software.role.service.RoleCategoryManager;
import web.GenericTreeController;
import hb.software.role.category.*;
@RestController
@RequestMapping("/rolecategory")
public class RoleCategoryController extends GenericTreeController<RoleCategory, Long, RoleCategoryManager> {
	
	RoleCategoryManager roleCategoryManager;
	@Autowired
	public void setRoleCategoryManager(RoleCategoryManager roleCategoryManager) {
		this.roleCategoryManager = roleCategoryManager;
		this.manager = this.roleCategoryManager;
		this.treeManager = this.roleCategoryManager;
		
	}
	

}